package com.chenfan.common.config;

/**
 * @description 任务中心任务类型枚举
 * @author liulingqiong
 */
public enum TaskTypeEnum {
    ADDNEWSTYLETASKS(1, "添加上新款式任务"),
    APPLYFORPURCHASINGTASK(2, "申请采购任务"),
    CREATEINVENTORYTASK(3, "创建存货档案任务"),
    CREATEPURCHASETASK(4, "创建采购单任务"),
    ASSIGNMERCHANDISERTASKS(5, "指派跟单任务"),
    REVIEWPRICE(6, "核价单审核任务"),
    CREATEADJUSTMENTTASK(7, "创建调价单任务"),
    PROCESSSINGLEBATCHPLATETASK(8, "工艺单批版任务"),
    PREPROUPLOADTASK(9, "产前样上传任务"),
    INVOICEREVIEW(10, "到货单审核任务"),
    RESULTAUDITTASK(11, "质检结果审核任务"),
    SPOTCHECKQUANTITYVERIFICATIONTASK(12, "抽检质检数量核实任务"),
    SPOTCHECKRESULTREGISTRATIONTASK(13, "抽检质检结果登记任务"),
    ENTRYAUDITTASK(14, "入库单审核任务"),
    REJECTIONORDERREVIEWTASK (15, "拒收单审核任务"),
    REVIEWADJUSTMENT (16, "调价单审核任务"),
    PAYMENTREVIEWRASK(17, "预付款审核任务"),
    TWOPAYMENTREVIEWRASK(18, "预付款二次审核任务"),
    CREATEQUOTATION(19, "创建核价单任务"),
    CREATEPROCESS(20, "创建工艺单任务"),
    COMPLETEQUANTITYVERIFICATIONTASK(21,"全检质检数量核实任务"),
    COMPLETERESULTREGISTRATIONTASK(22,"全检质检结果登记任务"),
    NUCLEAR_PRICE(23,"核价员创建核价单任务"),
    STYLIST_PRICE(24,"设计师创建核价单任务"),
    CANCELTRACK(25,"取消跟单任务"),
    CREATEPREORDER(26,"创建预订单任务"),
    UNFINISHED(0,"未完成"),
    GOTODETAILS(1,"跳转详情页"),
    CREATE(2,"创建新单据")
    ;
    private int code;
    private String msg;

    TaskTypeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
